GrapeCity.Xaml.CalcEngine
Evaluate(Object[]) Method


The args contains 7 - 8 items: settlement, maturity, last_interest, rate, yld, redemption, frequency, [basis].

Settlement is the security's settlement date. The security settlement date is the date after the issue date when the security is traded to the buyer.

Maturity is the security's maturity date. The maturity date is the date when the security expires.

Last_interest is the security's last coupon date.

Rate is the security's interest rate.

Yld is the security's annual yield.

Redemption is the security's redemption value per $100 face value.

Frequency is the number of coupon payments per year. For annual payments, frequency = 1; for semiannual, frequency = 2; for quarterly, frequency = 4.

Basis is the type of day count basis to use.

Returns the System.Double price per $100 face value of a security having an odd (short or long) last coupon period.
Syntax
'Declaration
 
Public Overloads Overrides Function Evaluate( _
   ByVal args() As Object _
) As Object
'Usage
 
Dim instance As CalcOddLPriceFunction
Dim args() As Object
Dim value As Object
 
value = instance.Evaluate(args)
public override object Evaluate( 
   object[] args
)

Parameters

args

The args contains 7 - 8 items: settlement, maturity, last_interest, rate, yld, redemption, frequency, [basis].

Settlement is the security's settlement date. The security settlement date is the date after the issue date when the security is traded to the buyer.

Maturity is the security's maturity date. The maturity date is the date when the security expires.

Last_interest is the security's last coupon date.

Rate is the security's interest rate.

Yld is the security's annual yield.

Redemption is the security's redemption value per $100 face value.

Frequency is the number of coupon payments per year. For annual payments, frequency = 1; for semiannual, frequency = 2; for quarterly, frequency = 4.

Basis is the type of day count basis to use.

Return Value

A System.Double value that indicates the evaluate result.
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

CalcOddLPriceFunction Class
CalcOddLPriceFunction Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options